package com.csu.petstore.service;

import com.csu.petstore.common.CommonResponse;
import com.csu.petstore.pojo.User;
import org.springframework.stereotype.Service;

@Service
public interface UserService{
    public String isRightOfUser(String username,String password);
    public boolean isExistUser(String username);
    public void updateUserByUserName(User user,String username);
    public CommonResponse<String> isExistUser1(String username);
    public void insertUser(User user);
    public void deleteUser(String username);
}
